Implement ANSI SGR parameters 22-27.
authorWolfgang Jenkner <wjenkner@inode.at>
Wed, 15 Aug 2012 03:33:55 +0000 (23:33 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 Aug 2012 03:33:55 +0000 (23:33 -0400)
commit1bc85494c3236fa27cd8456635a4109aeed48344
tree230f2a3bcee31289baf02bbcc07ee60d65b18233
parenta29f088a3e521f2b1ce70710146245b64297f384
Implement ANSI SGR parameters 22-27.
* lisp/ansi-color.el (ansi-colors): Doc fix.
(ansi-color-context, ansi-color-context-region): Doc fix.
(ansi-color--find-face): New function.
(ansi-color-apply, ansi-color-apply-on-region): Use it.
Rename the local variable `face' to `codes' since it is now a list of
ansi codes.  Doc fix.
(ansi-color-get-face): Remove.
(ansi-color-parse-sequence): New function, derived from
ansi-color-get-face.
(ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
codes 22-27.
lisp/ChangeLog
lisp/ansi-color.el